Ability
@Serializable
Abilities provide passive effects for Pokémon in battle or in the overworld. Pokémon have multiple possible abilities but only one ability on each individual Pokémon. See: https://pokeapi.co/docs/v2#abilities
Parameters
id
The identifier for this ability resource.
name
The name for this ability resource.
is Main Series
Whether or not this ability originated in the main series of the video games.
generation
The generation this ability was introduced in.
names
The name of this ability listed in different languages.
effect Entries
The effect of this ability listed in different languages.
effect Changes
The list of past effects this ability has had across version groups.
flavor Text Entries
The flavor text of this ability listed in different languages.
pokemon
A list of Pokémon that could potentially have this ability.
Constructors
Link copied to clipboard
constructor(id: Int, name: String, isMainSeries: Boolean, generation: Handle.Named<Generation>, names: List<Name>, effectEntries: List<VerboseEffect>, effectChanges: List<AbilityEffectChange>, flavorTextEntries: List<AbilityFlavorText>, pokemon: List<AbilityPokemon>)